<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"><title>【后端】Spring Boot Quick Start | FFFFOX's Blog</title><meta name="keywords" content="Java web,快速入门,Spring Boot"><meta name="author" content="FFFFOX"><meta name="copyright" content="FFFFOX"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="Spring Boot 快速入门Spring Boot 简介 Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can “just run”. We take an opinionated view of the Spring platform a">
<meta property="og:type" content="article">
<meta property="og:title" content="【后端】Spring Boot Quick Start">
<meta property="og:url" content="https://ffffox.gitee.io/blog/2022/0331aad839.html">
<meta property="og:site_name" content="FFFFOX&#39;s Blog">
<meta property="og:description" content="Spring Boot 快速入门Spring Boot 简介 Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can “just run”. We take an opinionated view of the Spring platform a">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/8E0FF01C-5CCF-4D3A-9B4A-0A7C5DBA28A8_1_105_c.jpeg">
<meta property="article:published_time" content="2022-03-09T01:01:38.000Z">
<meta property="article:modified_time" content="2022-04-12T08:56:32.233Z">
<meta property="article:author" content="FFFFOX">
<meta property="article:tag" content="Java web">
<meta property="article:tag" content="快速入门">
<meta property="article:tag" content="Spring Boot">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/8E0FF01C-5CCF-4D3A-9B4A-0A7C5DBA28A8_1_105_c.jpeg"><link rel="shortcut icon" href="/blog/img/apple-alt-solid.svg"><link rel="canonical" href="https://ffffox.gitee.io/blog/2022/0331aad839"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/blog/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = { 
  root: '/blog/',
  algolia: undefined,
  localSearch: undefined,
  translate: undefined,
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'fancybox',
  Snackbar: undefined,
  source: {
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery@2/dist/fjGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery@2/dist/fjGallery.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: false,
  isAnchor: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: '【后端】Spring Boot Quick Start',
  isPost: true,
  isHome: false,
  isHighlightShrink: false,
  isToc: true,
  postUpdate: '2022-04-12 16:56:32'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          if (t === 'dark') activateDarkMode()
          else if (t === 'light') activateLightMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const detectApple = () => {
      if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
    })(window)</script><meta name="generator" content="Hexo 6.0.0"></head><body><div id="loading-box"><div class="loading-left-bg"></div><div class="loading-right-bg"></div><div class="spinner-box"><div class="configure-border-1"><div class="configure-core"></div></div><div class="configure-border-2"><div class="configure-core"></div></div><div class="loading-word">加载中...</div></div></div><div id="web_bg"></div><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="https://avatars.githubusercontent.com/u/30062830?v=4" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="site-data is-center"><div class="data-item"><a href="/blog/archives/"><div class="headline">文章</div><div class="length-num">28</div></a></div><div class="data-item"><a href="/blog/tags/"><div class="headline">标签</div><div class="length-num">29</div></a></div><div class="data-item"><a href="/blog/categories/"><div class="headline">分类</div><div class="length-num">8</div></a></div></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/blog/"><i class="fa-fw fas fa-home"></i><span> Home</span></a></div><div class="menus_item"><a class="site-page" href="/blog/archives/"><i class="fa-fw fas fa-archive"></i><span> Archives</span></a></div><div class="menus_item"><a class="site-page" href="/blog/tags/"><i class="fa-fw fas fa-tags"></i><span> Tags</span></a></div><div class="menus_item"><a class="site-page" href="/blog/categories/"><i class="fa-fw fas fa-folder-open"></i><span> Categories</span></a></div><div class="menus_item"><a class="site-page" href="/blog/link/"><i class="fa-fw fas fa-link"></i><span> Link</span></a></div><div class="menus_item"><a class="site-page" href="/blog/about/"><i class="fa-fw fas fa-heart"></i><span> About</span></a></div></div></div></div><div class="post" id="body-wrap"><header class="post-bg" id="page-header" style="background-image: url('https://gitee.com/FFFFOX/picgo-repo/raw/master/img/8E0FF01C-5CCF-4D3A-9B4A-0A7C5DBA28A8_1_105_c.jpeg')"><nav id="nav"><span id="blog_name"><a id="site-name" href="/blog/">FFFFOX's Blog</a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="/blog/"><i class="fa-fw fas fa-home"></i><span> Home</span></a></div><div class="menus_item"><a class="site-page" href="/blog/archives/"><i class="fa-fw fas fa-archive"></i><span> Archives</span></a></div><div class="menus_item"><a class="site-page" href="/blog/tags/"><i class="fa-fw fas fa-tags"></i><span> Tags</span></a></div><div class="menus_item"><a class="site-page" href="/blog/categories/"><i class="fa-fw fas fa-folder-open"></i><span> Categories</span></a></div><div class="menus_item"><a class="site-page" href="/blog/link/"><i class="fa-fw fas fa-link"></i><span> Link</span></a></div><div class="menus_item"><a class="site-page" href="/blog/about/"><i class="fa-fw fas fa-heart"></i><span> About</span></a></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="post-info"><h1 class="post-title">【后端】Spring Boot Quick Start</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2022-03-09T01:01:38.000Z" title="发表于 2022-03-09 09:01:38">2022-03-09</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2022-04-12T08:56:32.233Z" title="更新于 2022-04-12 16:56:32">2022-04-12</time></span><span class="post-meta-categories"><span class="post-meta-separator">|</span><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/blog/categories/%E5%90%8E%E7%AB%AF/">后端</a></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span class="post-meta-pv-cv" id="" data-flag-title="【后端】Spring Boot Quick Start"><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">阅读量:</span><span id="busuanzi_value_page_pv"></span></span><span class="post-meta-separator">|</span><span class="post-meta-commentcount"><i class="far fa-comments fa-fw post-meta-icon"></i><span class="post-meta-label">评论数:</span><a href="/blog/2022/0331aad839.html#post-comment" itemprop="discussionUrl"><span class="valine-comment-count" data-xid="/blog/2022/0331aad839.html" itemprop="commentCount"></span></a></span></div></div></div></header><main class="layout" id="content-inner"><div id="post"><article class="post-content" id="article-container"><h1 id="Spring-Boot-快速入门"><a href="#Spring-Boot-快速入门" class="headerlink" title="Spring Boot 快速入门"></a>Spring Boot 快速入门</h1><h2 id="Spring-Boot-简介"><a href="#Spring-Boot-简介" class="headerlink" title="Spring Boot 简介"></a>Spring Boot 简介</h2><blockquote>
<p>Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can “just run”.</p>
<p>We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need minimal Spring configuration.</p>
<p>If you’re looking for information about a specific version, or instructions about how to upgrade from an earlier release, check out <a target="_blank" rel="noopener" href="https://github.com/spring-projects/spring-boot/wiki#release-notes">the project release notes section</a> on our wiki.</p>
<p>[摘自官方文档]</p>
</blockquote>
<h2 id="Spring-Boot-Features"><a href="#Spring-Boot-Features" class="headerlink" title="Spring Boot Features"></a>Spring Boot Features</h2><ul>
<li><p>Create stand-alone Spring applications</p>
</li>
<li><p>Embed Tomcat, Jetty or Undertow directly (no need to deploy WAR files)</p>
</li>
<li><p>Provide opinionated ‘starter’ dependencies to simplify your build configuration</p>
</li>
<li><p>Automatically configure Spring and 3rd party libraries whenever possible</p>
</li>
<li><p>Provide production-ready features such as metrics, health checks, and externalized configuration</p>
</li>
<li><p>Absolutely no code generation and no requirement for XML configuratio</p>
<blockquote>
<p>[摘自官方文档]</p>
</blockquote>
</li>
</ul>
<h2 id="To-sum-up"><a href="#To-sum-up" class="headerlink" title="To sum up"></a>To sum up</h2><p>简单来说呢 Spring Boot 就是一个简单易用、非常快捷，而且自带容器的高效后台框架。</p>
<p>相比于之前的 SSM 项目，配置XML，Mapper，各种配置都被简化了很多，后台搭建也会快很多。</p>
<p>那后台要干什么呢？</p>
<p>CRUD 嘛。</p>
<p>那这里就最简单的记录一下 Spring Boot 对一张表的读取并返回显示在页面上</p>
<p>环境这里用 jdk 1.8，</p>
<blockquote>
<p>没什么大区别，习惯1.8用的多些，</p>
<p>当然最近听说3.0版本只支持 jdk 17 那就是后话了「M1终于可以站起来了吗」</p>
</blockquote>
<p>开发软件用的是IDEA，各种生成和自动化操作真的非常舒适。</p>
<h2 id="开始搭建"><a href="#开始搭建" class="headerlink" title="开始搭建"></a>开始搭建</h2><ol>
<li><p>首先创建一个新项目</p>
<p><img src="https://s2.loli.net/2022/03/11/GDUghRcHOTzadyY.png" alt="image-20220311000523614"></p>
<p>选择 Spring Intializr，选择你需要版本的 jdk</p>
</li>
<li><p>进而配置一些选项<br><img src="https://s2.loli.net/2022/03/11/DyUTHJiajESF5IL.png" alt="image-20220311193705032"></p>
<p>定好自己的包名，选上对应的 Java version 我这里选8也就是对应 Jdk 1.8</p>
</li>
<li><p>选取组建</p>
<p><img src="https://s2.loli.net/2022/03/11/DQavPsx1A9qtBYy.png" alt="image-20220311194147878"></p>
<p>这边只需要钩上一个最基础的 Spring Web 即可，后面我们使用 pom.xml 引入 maven 仓库中的依赖例如数据库支持等</p>
</li>
<li><p>之后选择一个项目位置就行了<br><img src="https://s2.loli.net/2022/03/11/sjfnaVx6QuHeUh9.png" alt="image-20220311194330242"></p>
</li>
</ol>
<h2 id="进入项目"><a href="#进入项目" class="headerlink" title="进入项目"></a>进入项目</h2><blockquote>
<p>如果你是个新手第一次进入的话可能会有一些慢，等IDEA右下角进度跑完就好了</p>
</blockquote>
<ol>
<li><p>文件结构</p>
<p>比较而言，Spring Boot 的文件结构比 SSM 项目还是清爽了很多，我们主要的编写代码工作会在 src 目录下进行，而依赖相关的管理会在 pom.xml 中进行，右侧点开 maven 选项可以看到项目的生命周期</p>
<p><img src="https://s2.loli.net/2022/03/12/xsgkZXr9hN7pil6.png" alt="image-20220312170217874"></p>
</li>
<li><p>启动文件<br>Spring Initializr 自动生成了 DemoApplication 文件作为一个启动类，带有 main()</p>
<p><img src="https://s2.loli.net/2022/03/12/dyjUkrC1gsNHIZu.png" alt="image-20220312170526594"></p>
</li>
</ol>
<h2 id="浅浅尝试一下"><a href="#浅浅尝试一下" class="headerlink" title="浅浅尝试一下"></a>浅浅尝试一下</h2><ol>
<li><p>小试牛刀</p>
<p>com.ffffox.demo.controller 下新建一个 controller 类，我这里就叫 HelloController</p>
<blockquote>
<p>一般习惯性会把各个部分单独的建立文件夹，所以其实这边是建在 com.ffffox.demo下哪里都是可以的</p>
</blockquote>
<p>内容我们只建立一个简单的函数返回一段文字以此显示在页面上</p>
<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">package</span> com.fffox.demo.controller;</span><br><span class="line"></span><br><span class="line"><span class="keyword">import</span> org.springframework.web.bind.annotation.RequestMapping;</span><br><span class="line"><span class="keyword">import</span> org.springframework.web.bind.annotation.RestController;</span><br><span class="line"></span><br><span class="line"><span class="meta">@RestController</span></span><br><span class="line"><span class="keyword">public</span> <span class="keyword">class</span> <span class="title class_">HelloController</span> &#123;</span><br><span class="line"></span><br><span class="line">   <span class="meta">@RequestMapping(&quot;/hello&quot;)</span></span><br><span class="line">   <span class="keyword">public</span> String <span class="title function_">hello</span><span class="params">()</span>&#123;</span><br><span class="line">      <span class="keyword">return</span> <span class="string">&quot;Hello&quot;</span>;</span><br><span class="line">   &#125;</span><br><span class="line"></span><br><span class="line">&#125;</span><br><span class="line"></span><br></pre></td></tr></table></figure>
</li>
<li><p>运行一下看效果</p>
<p>可以看到最基础的一个操作已经完成，内容显示到了页面上<br><img src="https://s2.loli.net/2022/03/12/S3WlJpKI2YhN9CD.png" alt="image-20220312172532522"></p>
</li>
</ol>
</article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta">文章作者: </span><span class="post-copyright-info"><a href="mailto:undefined">FFFFOX</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta">文章链接: </span><span class="post-copyright-info"><a href="https://ffffox.gitee.io/blog/2022/0331aad839.html">https://ffffox.gitee.io/blog/2022/0331aad839.html</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta">版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来自 <a href="https://ffffox.gitee.io/blog" target="_blank">FFFFOX's Blog</a>！</span></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/blog/tags/Java-web/">Java web</a><a class="post-meta__tags" href="/blog/tags/%E5%BF%AB%E9%80%9F%E5%85%A5%E9%97%A8/">快速入门</a><a class="post-meta__tags" href="/blog/tags/Spring-Boot/">Spring Boot</a></div><div class="post_share"><div class="social-share" data-image="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/8E0FF01C-5CCF-4D3A-9B4A-0A7C5DBA28A8_1_105_c.jpeg" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/social-share.js/dist/css/share.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/social-share.js/dist/js/social-share.min.js" defer></script></div></div><div class="post-reward"><div class="reward-button"><i class="fas fa-qrcode"></i> 打赏</div><div class="reward-main"><ul class="reward-all"><li class="reward-item"><a href="/blog/img/wechat.jpg" target="_blank"><img class="post-qr-code-img" src="/blog/img/wechat.jpg" alt="wechat"/></a><div class="post-qr-code-desc">wechat</div></li><li class="reward-item"><a href="/blog/img/alipay.jpg" target="_blank"><img class="post-qr-code-img" src="/blog/img/alipay.jpg" alt="alipay"/></a><div class="post-qr-code-desc">alipay</div></li></ul></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-left"><a href="/blog/2022/0368c8d266.html"><img class="prev-cover" src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/EF3DCBC4-C46C-46E0-B7C8-C2CA636B05F7_1_105_c.jpeg" onerror="onerror=null;src='/blog/img/404.jpg'" alt="cover of previous post"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">【后端】关于MyBatis组件在新版环境下无法创建myBatistConfiger实体类问题</div></div></a></div><div class="next-post pull-right"><a href="/blog/2022/03c5a9b2bb.html"><img class="next-cover" src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/0A183AF5-1B7A-4EEC-A600-3A73095A00EF_1_105_c.jpeg" onerror="onerror=null;src='/blog/img/404.jpg'" alt="cover of next post"><div class="pagination-info"><div class="label">下一篇</div><div class="next_info">【笔记】计算机网络（六）</div></div></a></div></nav><div class="relatedPosts"><div class="headline"><i class="fas fa-thumbs-up fa-fw"></i><span>相关推荐</span></div><div class="relatedPosts-list"><div><a href="/blog/2022/034e0cebcb.html" title="【后端】Springboot中controller的使用"><img class="cover" src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/EF3DCBC4-C46C-46E0-B7C8-C2CA636B05F7_1_105_c.jpeg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2022-03-12</div><div class="title">【后端】Springboot中controller的使用</div></div></a></div><div><a href="/blog/2022/0368c8d266.html" title="【后端】关于MyBatis组件在新版环境下无法创建myBatistConfiger实体类问题"><img class="cover" src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/EF3DCBC4-C46C-46E0-B7C8-C2CA636B05F7_1_105_c.jpeg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2022-03-12</div><div class="title">【后端】关于MyBatis组件在新版环境下无法创建myBatistConfiger实体类问题</div></div></a></div><div><a href="/blog/2021/02dd94d5e7.html" title="【笔记】软件工程速成计划（一）"><img class="cover" src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/C53E8DA4-361A-4FDC-8ED7-1B4B475C8373_1_105_c.jpeg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2021-02-25</div><div class="title">【笔记】软件工程速成计划（一）</div></div></a></div><div><a href="/blog/2021/03a09c9a6d.html" title="【笔记】软件工程速成计划（三）"><img class="cover" src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/C53E8DA4-361A-4FDC-8ED7-1B4B475C8373_1_105_c.jpeg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2021-03-11</div><div class="title">【笔记】软件工程速成计划（三）</div></div></a></div><div><a href="/blog/2021/03ed82393f.html" title="【笔记】软件工程速成计划（二）"><img class="cover" src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/9D9DC5C7-85F9-4598-B4FD-4965B4C958AB_1_105_c.jpeg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2021-03-01</div><div class="title">【笔记】软件工程速成计划（二）</div></div></a></div><div><a href="/blog/2021/04782f464f.html" title="【笔记】软件工程速成计划（五）"><img class="cover" src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/DDD3CAD0-923F-4439-A392-85EAE1942A04_1_105_c.jpeg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2021-04-07</div><div class="title">【笔记】软件工程速成计划（五）</div></div></a></div></div></div><hr/><div id="post-comment"><div class="comment-head"><div class="comment-headline"><i class="fas fa-comments fa-fw"></i><span> 评论</span></div></div><div class="comment-wrap"><div><div class="vcomment" id="vcomment"></div></div></div></div></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src="https://avatars.githubusercontent.com/u/30062830?v=4" onerror="this.onerror=null;this.src='/blog/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">FFFFOX</div><div class="author-info__description">精致垃圾佬</div></div><div class="card-info-data is-center"><div class="card-info-data-item"><a href="/blog/archives/"><div class="headline">文章</div><div class="length-num">28</div></a></div><div class="card-info-data-item"><a href="/blog/tags/"><div class="headline">标签</div><div class="length-num">29</div></a></div><div class="card-info-data-item"><a href="/blog/categories/"><div class="headline">分类</div><div class="length-num">8</div></a></div></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/FFFFOX"><i class="fab fa-github"></i><span>Follow Me</span></a></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content">最近刚刚迁移来gitee+hexo的博客，内容在慢慢搬，很多内容有空缺，不定期更新</div></div><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span><span class="toc-percentage"></span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#Spring-Boot-%E5%BF%AB%E9%80%9F%E5%85%A5%E9%97%A8"><span class="toc-number">1.</span> <span class="toc-text">Spring Boot 快速入门</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#Spring-Boot-%E7%AE%80%E4%BB%8B"><span class="toc-number">1.1.</span> <span class="toc-text">Spring Boot 简介</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Spring-Boot-Features"><span class="toc-number">1.2.</span> <span class="toc-text">Spring Boot Features</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#To-sum-up"><span class="toc-number">1.3.</span> <span class="toc-text">To sum up</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%BC%80%E5%A7%8B%E6%90%AD%E5%BB%BA"><span class="toc-number">1.4.</span> <span class="toc-text">开始搭建</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E8%BF%9B%E5%85%A5%E9%A1%B9%E7%9B%AE"><span class="toc-number">1.5.</span> <span class="toc-text">进入项目</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E6%B5%85%E6%B5%85%E5%B0%9D%E8%AF%95%E4%B8%80%E4%B8%8B"><span class="toc-number">1.6.</span> <span class="toc-text">浅浅尝试一下</span></a></li></ol></li></ol></div></div><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/blog/2022/12a078cdcc.html" title="【笔记】七牛云iOS面经（二）"><img src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/77F5E03C-F5F1-4E7B-A0B2-D579512C62FC_1_105_c.jpeg" onerror="this.onerror=null;this.src='/blog/img/404.jpg'" alt="【笔记】七牛云iOS面经（二）"/></a><div class="content"><a class="title" href="/blog/2022/12a078cdcc.html" title="【笔记】七牛云iOS面经（二）">【笔记】七牛云iOS面经（二）</a><time datetime="2022-12-12T14:47:49.000Z" title="发表于 2022-12-12 22:47:49">2022-12-12</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/blog/2022/12906e2114.html" title="【笔记】七牛云iOS面经（一）"><img src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/0A183AF5-1B7A-4EEC-A600-3A73095A00EF_1_105_c.jpeg" onerror="this.onerror=null;this.src='/blog/img/404.jpg'" alt="【笔记】七牛云iOS面经（一）"/></a><div class="content"><a class="title" href="/blog/2022/12906e2114.html" title="【笔记】七牛云iOS面经（一）">【笔记】七牛云iOS面经（一）</a><time datetime="2022-12-12T08:10:13.000Z" title="发表于 2022-12-12 16:10:13">2022-12-12</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/blog/2022/042a8ab19e.html" title="【数据分析】MongoDB副本集部署"><img src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/0A183AF5-1B7A-4EEC-A600-3A73095A00EF_1_105_c.jpeg" onerror="this.onerror=null;this.src='/blog/img/404.jpg'" alt="【数据分析】MongoDB副本集部署"/></a><div class="content"><a class="title" href="/blog/2022/042a8ab19e.html" title="【数据分析】MongoDB副本集部署">【数据分析】MongoDB副本集部署</a><time datetime="2022-04-11T05:19:16.000Z" title="发表于 2022-04-11 13:19:16">2022-04-11</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/blog/2022/0425a17255.html" title="【环境配置】Docker安装Portainer"><img src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/9D9DC5C7-85F9-4598-B4FD-4965B4C958AB_1_105_c.jpeg" onerror="this.onerror=null;this.src='/blog/img/404.jpg'" alt="【环境配置】Docker安装Portainer"/></a><div class="content"><a class="title" href="/blog/2022/0425a17255.html" title="【环境配置】Docker安装Portainer">【环境配置】Docker安装Portainer</a><time datetime="2022-04-06T11:59:28.000Z" title="发表于 2022-04-06 19:59:28">2022-04-06</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/blog/2022/03f4410d7c.html" title="【笔记】字节iOS实习面经/凉经（一）"><img src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/BFA2BC1E-FD53-4064-A548-872CA55CE207_1_105_c.jpeg" onerror="this.onerror=null;this.src='/blog/img/404.jpg'" alt="【笔记】字节iOS实习面经/凉经（一）"/></a><div class="content"><a class="title" href="/blog/2022/03f4410d7c.html" title="【笔记】字节iOS实习面经/凉经（一）">【笔记】字节iOS实习面经/凉经（一）</a><time datetime="2022-03-18T14:27:23.000Z" title="发表于 2022-03-18 22:27:23">2022-03-18</time></div></div></div></div></div></div></main><footer id="footer" style="background-image: url('https://gitee.com/FFFFOX/picgo-repo/raw/master/img/8E0FF01C-5CCF-4D3A-9B4A-0A7C5DBA28A8_1_105_c.jpeg')"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2022 By FFFFOX</div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><a id="to_comment" href="#post-comment" title="直达评论"><i class="fas fa-comments"></i></a><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/blog/js/utils.js"></script><script src="/blog/js/main.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.umd.js"></script><script>var preloader = {
  endLoading: () => {
    document.body.style.overflow = 'auto';
    document.getElementById('loading-box').classList.add("loaded")
  },
  initLoading: () => {
    document.body.style.overflow = '';
    document.getElementById('loading-box').classList.remove("loaded")

  }
}
window.addEventListener('load',preloader.endLoading())</script><div class="js-pjax"><script>function loadValine () {
  function initValine () {
    const valine = new Valine(Object.assign({
      el: '#vcomment',
      appId: '1jLSlV60mfYOQSNfHjBAomNu-MdYXbMMI',
      appKey: '2HD4zrWuwyR8YX8ec3MprTml',
      avatar: 'monsterid',
      serverURLs: 'https://1jlslv60.api.lncldglobal.com',
      emojiMaps: "",
      path: window.location.pathname,
      visitor: true
    }, null))
  }

  if (typeof Valine === 'function') initValine() 
  else getScript('https://cdn.jsdelivr.net/npm/valine/dist/Valine.min.js').then(initValine)
}

if ('Valine' === 'Valine' || !false) {
  if (false) btf.loadComment(document.getElementById('vcomment'),loadValine)
  else setTimeout(loadValine, 0)
} else {
  function loadOtherComment () {
    loadValine()
  }
}</script></div><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>